package com.atguigu.jxc.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @auther wgm
 * @create 2021-05-13 18:25
 */
public interface PurchaseListGoodsMapper {

    List<Map<String,Object>> list(@Param("purchaseNumber") String purchaseNumber,
                                  @Param("supplierId") Integer supplierId,
                                  @Param("state") Integer state,
                                  @Param("sTime") String sTime,
                                  @Param("eTime") String eTime);

    List<Map<String, Object>> goodsList(Integer purchaseListId);

    void delete(Integer purchaseListId);

    void deleteGoodsByPurchaseListId(Integer purchaseListId);
}
